{load_language_text section="product_listing"} {load_language_text section="product_info" name="info"} {load_language_text section="buttons" name="button"} {load_language_text section="general" name="general"} {block name="product_listing_product"} {block name="product_listing_product_rating_include"} {product_rating id=$p_id out='OVERALL_RATING'} {/block} {block name="product_listing_product_container"}
{block name="product_listing_product_container_form"} {block name="product_listing_product_container_inside"}
{block name="product_listing_product_image"}
{block name="product_listing_product_image_pimage_if"} {if $p_image && $p_image|substr:-1 !== '/'} {block name="product_listing_product_image_pimage"} {if 'USE_SMALLER_IMAGES_FOR_PRODUCTS'|gm_get_conf == 'false'} {$p_image=$p_image|replace:"thumbnail_images":"info_images"} {/if} {/block} {else} {block name="product_listing_product_image_no_pimage"}
{/block} {/if} {/block} {block name="product_listing_product_image_fsk18_if"} {if $p_fsk18 === 'true'} {block name="product_listing_product_image_fsk18"} {/block} {/if} {/block} {block name="product_listing_product_image_manufacturer_if"} {if $ribbons.manufacturer|count > 0} {block name="product_listing_product_image_manufacturer"} {include file="get_usermod:{$tpl_path}product_listing_manufacturer.html" ribbon="manufacturer" id=$ribbons.manufacturer.0.ID text=$ribbons.manufacturer.0.IMAGE_ALT img=$ribbons.manufacturer.0.IMAGE url=$ribbons.manufacturer.0.URL } {/block} {/if} {/block} {block name="product_listing_product_image_ribbon_if"} {if $ribbons.ribbons} {block name="product_listing_product_image_ribbon"} {include file="get_usermod:{$tpl_path}product_listing_ribbon.html"} {/block} {/if} {/block}
{/block} {block name="product_listing_product_description"}
{block name="product_listing_product_description_title"}
{$p_headline}
{/block} {block name="product_listing_product_description_short_description_if"} {if $p_short_desc} {block name="product_listing_product_description_short_description"}
{$p_short_desc}
{/block} {/if} {/block} {block name="product_listing_product_description_attributes"} {$p_attributes} {/block} {block name="product_listing_product_description_graduated_prices_if"} {if $p_graduated_prices} {block name="product_listing_product_description_graduated_prices"}
{$p_graduated_prices}
{/block} {/if} {/block} {block name="product_listing_product_description_shipping"}
{block name="product_listing_product_description_shipping_if"} {if ($SHOW_PRODUCTS_MODEL && trim($p_model) != '') || $p_shipping_name || $p_qty || $p_weight} {block name="product_listing_product_description_product_model_if"} {if $SHOW_PRODUCTS_MODEL && trim($p_model) != ''} {block name="product_listing_product_description_product_model"} {$txt.text_model} {$p_model}
{/block} {/if} {/block} {block name="product_listing_product_description_shipping_name_if"} {if $p_shipping_name} {block name="product_listing_product_description_shipping_name_time_image"}
{$txt.text_shippingtime} {block name="product_listing_product_description_shipping_name_time_image_if"} {if $p_shipping_range !== null} {block name="product_listing_product_description_shipping_name_time_image_range"} {if $p_shipping_range.low === $p_shipping_range.high} {if $p_shipping_range.high.image} {/if} {$p_shipping_range.high.name} {else} {$txt.text_from} {$p_shipping_range.low.name} {$txt.text_to} {$p_shipping_range.high.name} {/if} {/block} {else} {block name="product_listing_product_description_shipping_name_time_image_no_range"} {if $p_shipping_img} {/if} {$p_shipping_name} {/block} {/if} {/block}
{/block} {block name="product_listing_product_description_shipping_link_if"} {if $p_shipping_link_active && $co_id} {block name="product_listing_product_description_shipping_link"} ({$info.text_abroad_shipping_info}) {/block} {/if} {/block} {block name="product_listing_product_description_show_qty_info_if"} {if $show_qty_info == '1' && $p_stock && $p_stock > 0} , {/if} {/block}
{/if} {/block} {block name="product_listing_product_description_weight_container"} {block name="product_listing_product_description_shipping_quantity_if"} {if $p_qty} {block name="product_listing_product_description_shipping_quantity"} {$txt.text_products_stock} {$p_stock} {if $p_unit} {$p_unit} {else} {$txt.text_pieces} {/if} {if $p_weight} , {/if} {/block} {/if} {/block} {block name="product_listing_product_description_shipping_weight_if"} {if $p_weight} {block name="product_listing_product_description_shipping_weight"} {$info.text_weight} {$p_weight} {$info.text_weight_unit} {if $p_unit} {$p_unit} {else} {$info.text_weight_qty_unit} {/if} {/block} {/if} {/block} {/block} {/if} {/block}
{/block}
{/block} {block name="product_listing_product_description_rating"} {block name="product_listing_product_description_rating_if"} {if $showRating}
{if $OVERALL_RATING.rounded && $OVERALL_RATING.rounded != ""} {include file="get_usermod:{$tpl_path}rating_stars.html" rating_rounded=$OVERALL_RATING.rounded rating_count=$OVERALL_RATING.count } {/if}
{/if} {/block} {/block} {block name="product_listing_product_price"}
{block name="product_listing_product_price_rating_if"} {if $showRating} {block name="product_listing_product_price_rating"}
{if $OVERALL_RATING.rounded && $OVERALL_RATING.rounded != ""} {include file="get_usermod:{$tpl_path}rating_stars.html" rating_rounded=$OVERALL_RATING.rounded rating_count=$OVERALL_RATING.count } {/if}
{/block} {/if} {/block} {block name="product_listing_product_price_text"}
{$p_price} {if $p_price|stripos:$general.NOT_ALLOWED_TO_SEE_PRICES === false} {if $p_vpe}
{$p_vpe} {/if} {/if}
{/block} {block name="product_listing_product_description_shipping2"}
{block name="product_listing_product_description_product_model_if2"} {if $SHOW_PRODUCTS_MODEL && trim($p_model) != ''} {block name="product_listing_product_description_product_model2"} {$txt.text_model} {$p_model}
{/block} {/if} {/block} {block name="product_listing_product_description_shipping_name_if2"} {if $p_shipping_name} {block name="product_listing_product_description_shipping_name_time_image2"}
{$txt.text_shippingtime} {block name="product_listing_product_description_shipping_name_time_image_if2"} {if $p_shipping_range !== null} {block name="product_listing_product_description_shipping_name_time_image_range2"} {if $p_shipping_range.low === $p_shipping_range.high} {if $p_shipping_range.high.image} {/if} {$p_shipping_range.high.name} {else} {$txt.text_from} {$p_shipping_range.low.name} {$txt.text_to} {$p_shipping_range.high.name} {/if} {/block} {else} {block name="product_listing_product_description_shipping_name_time_image_no_range2"} {if $p_shipping_img} {/if} {$p_shipping_name} {/block} {/if} {/block}
{/block} {/if} {/block}
{/block} {block name="product_listing_product_additional_container"}
{/block} {block name="product_listing_product_price_shipping"}
{if $module_data.PRODUCTS_TAX_INFO || $module_data.PRODUCTS_SHIPPING_LINK}
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}
{/if}
{/block} {block name="product_listing_product_price_error"}
{/block}
{block name="product_listing_product_price_quantity_if"} {if $p_by_now && $p_qty_gm} {block name="product_listing_product_price_quantity"}
{block name="product_listing_product_price_quantity_input"} {if ($qty_value != 1 && (!$has_attributes || $p_attributes)) || (($show_qty == '1' && $p_attributes) || ($show_qty == '1' && $has_attributes == '0'))} {if $p_unit} {$p_unit}: {/if} {else} {/if} {/block}
{block name="product_listing_product_price_add_to_cart"} {if $p_unit && ($qty_value != 1 || (($show_qty == '1' && $p_attributes) || ($show_qty == '1' && $has_attributes == '0')))} {/if} {block name="product_listing_product_price_add_to_cart_button"}
{/block} {/block}
{/block} {/if} {/block}
{/block}
{/block} {/block} {block name="product_listing_product_gallery_if"} {if $p_imgs} {block name="product_listing_product_gallery"}

{assign var="NUM_random_id" value=1|rand:99999} {block name="product_listing_product_gallery_foreach"} {foreach item=image_data from=$p_imgs} {if $image_data@iteration > 4} {break} {/if} {if 'USE_SMALLER_IMAGES_FOR_PRODUCTS'|gm_get_conf == 'false'} {$image_data.ORIGINAL=$image_data.IMAGE|replace:"thumbnail_images":"info_images"} {/if} {block name="product_listing_product_gallery_thumbnail"}
- {block name="product_listing_product_gallery_image"} {/block}
{/block} {/foreach} {/block}

{/block} {/if} {/block}
{/block} {/block}